<?php

declare(strict_types=1);

namespace think\auth\facade;

use think\Facade;
use think\auth\model\UserModel;

/**
 * @package think\auth\facade
 * @see \think\auth\service\User
 * @mixin \think\auth\service\User
 * @method static UserModel|null Fetch(int|string $uid = null)
 * @method static UserModel|null FindById(int|string $uid)
 * @method static UserModel|null FindByName(string $name)
 * @method static UserModel Create(string $userName, string $password)
 */
class User extends Facade
{
    /**
     * @return string
     */
    protected static function getFacadeClass(): string
    {
        return \think\auth\service\User::class;
    }
}
